package com.whfc.common.face.wo;

import lombok.Data;

import java.io.Serializable;

/**
 * @author sun_guodong
 * @description
 * @date 2020-06-20
 */
@Data
public class WoApiConst implements Serializable {

    public static final String SERVER = "http://wo-api.uni-ubi.com";

    /**
     * 鉴权获取token
     */
    public static final String AUTH_URL = "/v1/{0}/auth";

    /**
     * 添加设备
     */
    public static final String ADD_DEVICE_URL = "/v1/{0}/device/{1}/recType/{2}";

    /**
     * 删除设备
     */
    public static final String DEL_DEVICE_URL = "/v1/{0}/device/{1}";

    /**
     * 添加人员
     */
    public static final String ADD_PERSON_URL = "/v1/{0}/person";

    /**
     * 删除人员
     */
    public static final String DEL_PERSON_URL = "/v1/{0}/person";

    /**
     * 搜索人员
     */
    public static final String FIND_PERSON_URL = "/v1/{0}/person/{1}";

    /**
     * 添加人员照片
     */
    public static final String ADD_PERSON_FACE_URL = "/v1/{0}/face";

    /**
     * 闸机授权人员
     */
    public static final String ADD_SET_PEOPLE_URL = "/v1/{0}/device/{1}/person/{2}/type/{3}";

    /**
     * 闸机注销人员
     */
    public static final String ADD_DELETE_PEOPLE_URL = "/v1/{0}/device/{1}/person/{2}/type/{3}";

    /**
     * 闸机开门
     */
    public static final String INTER_ACTIVE_RL = "/v1/{0}/device/{1}/interactive";

}
